<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        img{
            width:100px;
            /*垂直方式对齐
            上对齐top
            下对齐bottom
            中间对齐middle
            基线对齐（默认）baseline
            */
            vertical-align: middle;

        }
    </style>
</head>
<body>
<input type="text"><img src="logo1.jpg" alt="">
</body>
</html>